package com.example.orm_hibernate.dao;

import com.example.orm_hibernate.entity.Twitter;
import com.example.orm_hibernate.entity.User;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TwitterDao extends CrudRepository<Twitter, Long> {
    List<Twitter> findInfoByUserId(int i);
}
